package org.hong.h12.service.student;

import org.hong.h12.entity.Student;
import org.hong.h12.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService{

    @Autowired
    StudentMapper studentMapper;
    @Override
    public List<Student> allStudent() {
        return studentMapper.allStudent();
    }

    @Override
    public List<Student> StudentSelectAll(Student student) {

        return studentMapper.StudentSelectAll(student);
    }

    @Override
    public Student StudentAddAndInsert(Student student) {

        return null;
    }
}
